package com.yf.model.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * AI 会话工具绑定表-AiConversationToolBinding
 *
 * @author: YiFei
 * @since : 2025年7月5日 00:49:24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "AI 会话工具绑定表")
@TableName("ai_conversation_tool_binding")
public class AiConversationToolBinding implements Serializable {

    @Serial
    private static final long serialVersionUID = 751647764457L;
    /**
     * 主键
     */
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 会话外键
     */
    @Schema(description = "会话外键")
    private Long conversationId;

    /**
     * 工具外键
     */
    @Schema(description = "工具外键")
    private Integer toolId;

}
